﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.ViewModel;
using System.ComponentModel;
using System.Collections.ObjectModel;

namespace ZhiHeng.OneCard.WpfClient.Model
{
    public class Super : NotificationObject
    {
        public Super()
        {

        }
        #region 商户实体
        private Guid _superId;

        public Guid SuperId
        {
            get { return _superId; }
            set
            {
                _superId = value;
                this.OnPropertyChanged("SuperId");
            }
        }
        private string _superCode;
        /// <summary>
        /// SuperCode:商户代码
        /// </summary>
        public string SuperCode
        {
            get { return _superCode; }
            set
            {
                _superCode = value;
                this.OnPropertyChanged("SuperCode");
            }
        }
        private int _superType;
        /// <summary>
        ///  SuperType：商户类型
        /// </summary>
        public int SuperType
        {
            get { return _superType; }
            set
            {
                _superType = value;
                this.OnPropertyChanged("SuperType");
            }
        }
        private int _settleType;
        /// <summary>
        ///  SettleType:结算方式
        /// </summary>
        public int SettleType
        {
            get { return _settleType; }
            set
            {
                _settleType = value;
                this.OnPropertyChanged("SettleType");
            }
        }
        private string _superName;
        /// <summary>
        ///  SuperName:商户名称
        /// </summary>
        public string SuperName
        {
            get { return _superName; }
            set
            {
                _superName = value;
                this.OnPropertyChanged("SuperName");
            }
        }
        private string _superPerson;
        /// <summary>
        ///  SuperPerson:负责人
        /// </summary>
        public string SuperPerson
        {
            get { return _superPerson; }
            set
            {
                _superPerson = value;
                this.OnPropertyChanged("SuperPerson");
            }
        }
        private string _superPhone;
        /// <summary>
        ///  SuperPhone:商户电话
        /// </summary>
        public string SuperPhone
        {
            get { return _superPhone; }
            set
            {
                _superPhone = value;
                this.OnPropertyChanged("SuperPhone");
            }
        }
        private string _superTel;
        /// <summary>
        ///  SuperTel:传真
        /// </summary>
        public string SuperTel
        {
            get { return _superTel; }
            set
            {
                _superTel = value;
                this.OnPropertyChanged("SuperTel");
            }
        }
        private string _superAddress;
        /// <summary>
        ///  SuperAddress:商户地址
        /// </summary>
        public string SuperAddress
        {
            get { return _superAddress; }
            set
            {
                _superAddress = value;
                this.OnPropertyChanged("SuperAddress");
            }
        }
        private string _superBank;
        /// <summary>
        ///  SuperBank:商户开户行
        /// </summary>
        public string SuperBank
        {
            get { return _superBank; }
            set
            {
                _superBank = value;
                this.OnPropertyChanged("SuperBank");
            }
        }
        private string _superBankName;
        /// <summary>
        ///  SuperBankName:开户姓名
        /// </summary>
        public string SuperBankName
        {
            get { return _superBankName; }
            set
            {
                _superBankName = value;
                this.OnPropertyChanged("SuperBankName");
            }
        }
        private string _superBankId;
        /// <summary>
        ///  SuperBankId:银行帐号
        /// </summary>
        public string SuperBankId
        {
            get { return _superBankId; }
            set
            {
                _superBankId = value;
                this.OnPropertyChanged("SuperBankId");
            }
        }
        private string _superRemark;
        /// <summary>
        ///  SuperRemark:备注
        /// </summary>
        public string SuperRemark
        {
            get { return _superRemark; }
            set
            {
                _superRemark = value;
                this.OnPropertyChanged("SuperRemark");
            }
        }
        #endregion
        public event PropertyChangedEventHandler PropertyChanged;
        private void OnPropertyChanged(string prop)
        {
            if (this.PropertyChanged != null)
                this.PropertyChanged(this, new PropertyChangedEventArgs(prop));
            // System.Windows.MessageBox.Show(prop);

        }
    }
}
